<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta name="screen-orientation" content="portrait">
    <meta name="x5-orientation" content="portrait">
    <title>享云商户通</title>
    <link rel="stylesheet" href="../../styles/h5/reset.min.css"/>
    <!--以上为公共css样式-->
    <link rel="stylesheet" href="../../styles/h5/index.css"/>

    <script charset="utf-8" type="text/javascript" src="../../scripts/h5/jquery-1.9.1.min.js"></script>
    <!--以上为公共js文件-->
</head>
<body>
<div class="zz-top"></div>
<div class="zz-submit-success" style="padding:.6rem 0">
    <i class="zz-icon-win"></i>
    <span class="zz-extract">收款完成</span>
    <span class="zz-gathering-money"></span>
    <ul>
        <li class="zz-payment-money">
            <span class="zz-left">付款时间</span>
            <span class="zz-replace zz-payment-date"></span>
        </li>
        <li class="zz-payment-mode">
            <span class="zz-left">付款方式</span>
            <span class="zz-replace zz-pay-mode"></span>
        </li>
    </ul>
</div>
<input class="footer bg zz-footTop" type="button" value="再收一笔">
<a class="zz-close" href="javascript:;">关闭</a>
</body>
<script charset="utf-8" type="text/javascript" src="../../scripts/h5/utils.js"></script>
<script charset="utf-8" type="text/javascript" src="../../scripts/h5/index.js"></script>
<script charset="utf-8" type="text/javascript">
    var queryURLParameter = utils.queryURLParameter();
    var merDate = queryURLParameter.merDate;
    var amount = queryURLParameter.amount;
    var productName = queryURLParameter.productName;
	merDate = merDate.slice(0,4) + "-" + merDate.slice(4,6) +"-"+ merDate.slice(6,8);

    $(".zz-gathering-money").html("￥" + amount);
    $(".zz-payment-date").html(merDate);
    $(".zz-pay-mode").html(productName);
    
    $footer.click(function () {
        window.location.href = "gathering.html";
    });
    
    $(".zz-close").click(function () {
    	WeixinJSBridge.call('closeWindow');
    });
</script>
</html>